home *** CD-ROM | disk | FTP | other *** search
/ Merciful 2 / Merciful - Disc 2.iso / software / q / qedv2.0editorcracked.lha / QedV2.0EditorCracked / documents / Appendix next >
Text File  |  1996-02-10  |  24KB  |  587 lines

  1.                                    QED
  2.                                 Version 2.0
  3.  
  4.                Copyright © 1988-1990 by Darren M. Greenwald
  5.                   Copyright © 1996 by Phillip M. Wright
  6.                             All rights reserved
  7.  
  8.                               Appendix notes
  9.  
  10. ======================================================================
  11.                          APPENDIX CONTENTS
  12. ======================================================================
  13.  
  14. 1.)  Text Editing Windows           (defaults, inheritance, and more)
  15. 2.)  QED Requesters                 (special features, short cuts, etc.)
  16. 3.)  QED and the clipboard.device   (special notes, unit #'s, etc.)
  17. 4.)  Exporting text                 (things to be aware of)
  18. 5.)  Entering binary characters     (how to do this)
  19. 6.)  Block & Column marking         (special notes)
  20. 7.)  Default key mapping            (a table of information)
  21. 8.)  Notes on 2.0 compatability     (information)
  22.  
  23. *** SPECIAL NOTE ***
  24.  
  25. There is a distinction between an Amiga process, and an Amiga task.
  26. It turns out that the terminology "task" is more common than "process".
  27. For this reason the following documentation may use the former
  28. terminology; it is assumed that those who understand the distinction also
  29. understand the former terminology.
  30.  
  31. ======================================================================
  32.                          QED TEXT EDITING WINDOWS
  33. ======================================================================
  34.  
  35.      QED allows you to work with multiple files, and text editing buffers
  36. in the form of multiple text editing windows.  There is no significant
  37. performance penalty for opening multiple windows, and it is more efficient
  38. then running QED as multiple editing tasks.
  39.  
  40.      Each window can be set-up independently of the others, though you can
  41. share data between text editing windows by way of the clipboard.device, or
  42. intermediate files.
  43.  
  44.  
  45. Some things to be aware of about QED windows -
  46.  
  47.      Be careful not to confuse NEW windows with those opened by another QED
  48. task.  Windows opened with the NEW command belong to a single QED task, and
  49. run as a single Amiga task.  However you can still share data between
  50. windows opened by another QED task.
  51.  
  52.      NEW windows can be set-up with a variety of independent text editing
  53. options, however some options are global to a QED task.  For example, the
  54. option to use the ARP file requester is global, meaning that all NEW
  55. windows opened by a QED task will be affected by this option.
  56.  
  57.      NEW windows will be opened with some default settings unless you
  58. change those settings manually, or by way of a macro.
  59.  
  60.      When you select an item from the pull-down menus, the item affects the
  61. the window from which the command was issued.  The same is true of QED's
  62. command mode; commands affect only one window at a time.
  63.  
  64.      NEW windows inherit settings from previous windows.  Window defaults,
  65. and inheritance are listed below.
  66.  
  67.  
  68. NEW window defaults -
  69.                          
  70. - A 1024 byte initial text editing buffer.
  71. - Pen color 1.
  72. - Paper color 0.
  73. - Paper/Pen color combination 1.
  74. - Border/Detail pen color combination 1.
  75. - Hard tab size of 8.
  76. - Right margin 75.
  77. - Left margin 1.
  78. - Mark block mode off.
  79. - Mark column mode off.
  80. - Visible linefeeds off.
  81. - Visible hard tabs off.
  82. - Slider gadget off.
  83. - Use character $AB for visible linefeeds.
  84. - Use character $B7 for visible hard tabs.
  85. - Text editing is allowed.
  86. - Preserve marked block off.
  87. - Bookmark position is line 1, column 1.
  88. - No path, or file name.
  89. - Single, and double mouse clicks are handled in the default manner.
  90. - Horizontal scrolling is set to even multiples of 8 characters.
  91. - Overstrike mode off.
  92. - Word wrap on.
  93. - Margin lock off.
  94. - Auto Indent off.
  95. - Block line mode off.
  96. - Free cursor movement on.
  97. - Tab key insert mode on.
  98. - Soft tabs off.
  99. - Append mode saves off.
  100. - Backup files off.
  101. - Create icons off if started from the CLI.
  102. - Create icons on if started from the Workbench.
  103. - Detab saves, and print OFF.
  104. - Window is opened full screen size a few pixels below the title bar.
  105. - Case sensitive searches OFF.
  106. - Forward search mode TRUE.
  107.  
  108.  
  109. New windows inherit these options from the previous window -
  110.  
  111. - Pen, and paper colors.
  112. - Pen/Paper present combination value.
  113. - Border/Detail pen present combination value.
  114. - Visible linefeeds, and hard tab flags.
  115. - Tab size.
  116. - Margin settings.
  117. - Horizontal scroll amount.
  118. - Proportional slider gadget flag.
  119. - Character values to use for visible linefeeds, and hard tabs.
  120. - Editable flag.
  121. - Preserve marked blocks flag.
  122. - Path name.
  123. - Overstrike mode flag.
  124. - Word wrap mode flag.
  125. - Margin lock mode flag.
  126. - Auto indent mode flag
  127. - Block line mode flag.
  128. - Free cursor movement mode flag.
  129. - Tab insert mode flag.
  130. - Soft tabs mode flag.
  131. - Append mode saves flag.
  132. - Backup files mode flag.
  133. - Create icons mode flag.
  134. - Detab saves, and print mode flag.
  135. - Window is opened slightly smaller then the previous window.     
  136. - Case sensitive search flag.
  137. - Forward/Backward search direction flag.
  138.  
  139.  
  140. ======================================================================
  141.                             QED REQUESTERS
  142. ======================================================================
  143.  
  144.  
  145.      QED's requesters are all automatically adjusted to make use of your
  146. system font.  All requesters are opened in draggable windows, so you move
  147. them out of your way, and the position where you last left them is
  148. remembered for the duration of the text editing session.
  149.  
  150.      QED's requesters use standard Amiga gadgets.  As a reminder, you can
  151. use the mouse to position the cursor within string gadgets.  You can also
  152. clear the gadget by pressing RIGHT AMIGA X, and undo any changes with RIGHT
  153. AMIGA Q.
  154.  
  155.      String gadgets allow you to edit the contents of the gadget using the
  156. cursor left/right keys, DELETE key, BACKSPACE key, and SHIFTED cursor keys
  157. to move to the end, or beginning of the line.
  158.  
  159.  
  160.  
  161. Keyboard shortcuts:
  162. -----------------------------------------------------------------
  163.  
  164.      Within QED, pressing RETURN within a string gadget will move the
  165. cursor to the next field, or be considered equivalent to clicking on the OK
  166. gadget.
  167.  
  168.      Pressing SHIFT-RETURN within a string gadget will activate the
  169. next/previous string gadget if any.  If there is only one string gadget, it
  170. is deactivated.
  171.  
  172.      Pressing ALT-RETURN within a string gadget deactivates the string
  173. gadget.
  174.  
  175.      Pressing RETURN, SHIFT-RETURN, or ALT-RETURN will activate a string
  176. gadget if no string gadget is currently active.
  177.  
  178.      Note that if a string gadget is NOT activated, you can use the
  179. keyboard to respond to requesters.  For example, press the 'o' key
  180. for OK, or the 'c' key for CANCEL.
  181.  
  182.      Within the Search & Replace requesters, you can use the
  183. 'a' key to toggle case sensitive search mode on/off, and the
  184. 'f', or 'b' key to toggle between forward/backward search modes.
  185.  
  186.  
  187.  
  188. Requester types:
  189. -----------------------------------------------------------------
  190.  
  191. File requester -
  192.  
  193.      As of V2.0, QED uses the standard system file requester.
  194.  
  195. Search -
  196.  
  197.      This requester is displayed when you select "Search..." from the
  198. pull-down menus.  It waits for you to enter a search string, and press
  199. RETURN.  You may also enter the search string, and click on the OK, or
  200. CANCEL gadgets without pressing RETURN.
  201.  
  202.      Two other gadgets allow you to select case-sensitive, or non
  203. case-sensitive search modes as well as forward, or backward search modes.
  204.  
  205.  
  206. Search & Replace -
  207.  
  208.      This requester is displayed when you select "Replace..." from the
  209. pull-down menus.  It waits for you to enter a search string, press RETURN,
  210. then waits for you to enter the replace string.  You can then press RETURN
  211. again, or click on the OK, or CANCEL gadgets without pressing RETURN.
  212.  
  213.      Two other gadgets allow you to select case-sensitive, or non
  214. case-sensitive search modes as well as forward, or backwards search modes.
  215.  
  216.  
  217. Notices -
  218.  
  219.      Notices are small windows displaying a one line message, and a gadget
  220. labeled OK.  You can also respond to notices by pressing the 'o' key on the
  221. keyboard.
  222.  
  223.  
  224. Info -
  225.  
  226.      The ABOUT requester is an example of an INFO requester.  Like notices,
  227. you can respond to INFO requesters by clicking on the OK gadget, or
  228. pressing 'o' on the keyboard.
  229.  
  230.  
  231. Queries -
  232.  
  233.      Like notices, a query requester displays a one line message, but it
  234. gives you an opportunity to respond with OK, or CANCEL.  You can also
  235. respond to these requesters by pressing 'o', or 'c' on the keyboard.
  236.  
  237.  
  238. Numeric -
  239.  
  240.      Numeric requesters display a one line message, and wait for you to
  241. enter a number from the keyboard.  If the string gadget is not activated,
  242. you can also respond to numeric gadgets by pressing 'o', or 'c' on the
  243. keyboard.
  244.  
  245.  
  246. String -
  247.  
  248.      String requesters display a one line message, and wait for you to
  249. enter a string of text from the keyboard.  If the string gadget is not
  250. activated, you can also respond to string gadgets by pressing 'o', or 'c'
  251. on the keyboard.
  252.  
  253.  
  254. ======================================================================
  255.                     QED AND THE CLIPBOARD.DEVICE
  256. ======================================================================
  257.  
  258.      QED by default makes use of the clipboard.device to hold blocks, and
  259. columns of text which have been cut, or copied.  If you are using the 2.0
  260. clipboard.device, it is suggested you include these two lines in your
  261. startup-sequence.
  262.  
  263.   makedir ram:clipboards
  264.   assign clips: ram:clipboards
  265.  
  266.      QED will not open the clipboard.device until the first time you
  267. perform an operation which needs it.  Because the clipboard.device is
  268. traditionally a disk-based module (stored in the DEVS: directory), this
  269. means the first time you cut, or copy a block/column of text, you will
  270. notice that QED has to load the clipboard.device from disk.
  271.  
  272.      The clipboard.device will frequently save any "clips" to the CLIPS:
  273. directory, which is by default assigned to your DEVS:clipboards directory.
  274. While some people find this irritating, it does mean that blocks of text
  275. are flushed from memory regularly, and retained in the clipboard files.  If
  276. you direct CLIPS: to something more permanent then RAM:, you will find your
  277. last copied, or cut block of text is still there next time you boot your
  278. machine.
  279.  
  280.      By default, QED uses the shared clipboard (unit 0) for blocks of text,
  281. and clipboard (unit 1) for columns of text.  You can change the unit
  282. numbers used for blocks, and columns of text via QED's command mode.  What
  283. this does is allow you to share blocks, and columns of text between QED
  284. task without mixing the two.  In both cases the text is written to the
  285. clipboard in simple IFF TEXT format so you can shared data with other
  286. programs which use the clipboard.device.
  287.  
  288.      As you can change the unit numbers used by a QED task, you have the
  289. ability to share columns with other Amiga programs via the shared clipboard
  290. unit 0.  The clipboard.device is also useful in an ARexx environment in
  291. which you want to share data with another program using an agreed upon set
  292. of clipboard unit number(s).
  293.  
  294.      Columns of text are written as lines of text terminated with
  295. LINEFEEDS, where each line is padded with trailing spaces as needed so that
  296. it can be re-inserted later retaining the columnar width of each line. 
  297. However you can insert any piece of text placed in the clipboard in
  298. columnar format.  If the lines have not been padded with spaces by the
  299. application writing the IFF TEXT clip, then they are inserted "as is"
  300. without regards to final appearance.  In some cases this may be desirable,
  301. but in most cases it is preferable to only insert columns copied, or cut
  302. from within QED.
  303.  
  304.      You have the option of not using the clipboard.device in QED, in which
  305. case all blocks, and columns of text cut, copied, or pasted are managed by
  306. QED in QED's own private clipboard.  Typically this option is used when you
  307. want to keep your clips private to a QED process, or if you have some
  308. personal grudge against using the Amiga clipboard.device.
  309.  
  310.  
  311. ======================================================================
  312.                          EXPORTING TEXT
  313. ======================================================================
  314.  
  315.      Text can be exported to other Amiga programs by way of the Amiga
  316. clipboard.device, or files.  Amiga Compilers, the CLI batch file mechanism,
  317. ARexx, and Amiga text file readers can use files created with QED without
  318. any modifications.  Most telecommunication services also send, and receive
  319. standard ASCII files, however there are three things you will want to be
  320. aware of -
  321.  
  322. Hard Tabs -
  323.  
  324.      Not all programs are equipped to deal with hard tabs, especially
  325. re-sizeable hard tabs which requires a lot of extra logic to display
  326. properly.  Many programs which do allow hard tabs in files assume correctly
  327. that hard tabs stops are set to even multiples of 8 columns.
  328.  
  329.      For maximum portability, you should work with hard tab stops set to
  330. even multiples of 8 columns, or you can detab your files when saving them.
  331.  
  332. End of lines -
  333.  
  334.      Because QED is an Amiga oriented program, it uses standard Amiga
  335. linefeeds (binary 10) for end-of-line characters.  You may also use binary
  336. 0's for end-of-line characters within QED; a feature which has been added
  337. for Amiga programmers.
  338.  
  339.      Other systems may use some other character, or characters for
  340. end-of-lines.  Most common are carriage returns (binary 13), and carriage
  341. return / linefeed combinations.  You can use QED's fast global search, and
  342. replace to convert between any end-of-line combinations that you want,
  343. saving intermediate files for uploading to a telecommunication service, or
  344. other system.
  345.  
  346. Binary characters -
  347.  
  348.      Even though you can work with binary characters in QED, other programs
  349. may trip over characters outside of the standard ASCII character set.
  350.  
  351.      
  352. ======================================================================
  353.                     ENTERING BINARY CHARACTERS
  354. ======================================================================
  355.  
  356.      QED is a text editor, however you can open, insert, and save "binary"
  357. files.  When QED reads files from disk, it reads the entire contents of the
  358. file into memory without stripping, or modifying anything.  The same thing
  359. is true when writing files, except when you have selected to detab output.
  360.  In this case all hard tabs (binary 9) would be converted to whatever
  361. number of spaces are needed.
  362.  
  363.      QED utilizes your system font, and it is worth noting that AMIGA fonts
  364. generally do not contain character definitions for the complete binary
  365. character set 0-255.  Most system fonts only have character imagery for
  366. binary 32-255, and possibly a smaller subset of characters.  Undefined
  367. characters are displayed using a default image (usually a box).
  368.  
  369.      In order to compensate, QED's fast text rendering routines can display
  370. the characters "@" through "_" in inverted imagery to represent binary
  371. 0-31.  If you have turned the fast text rendering routines off from the
  372. command mode, then you may have to use an extended system font in order to
  373. display these characters. 
  374.  
  375.      You can also enter these characters from the keyboard by holding down
  376. the CTRL key, and pressing the following keys on the keyboard:
  377.  
  378.      @ = binary 0 (CTRL SHIFTED 2)   p = binary 16
  379.      a = binary 1                    q = binary 17                  
  380.      b = binary 2                    r = binary 18                  
  381.      c = binary 3                    s = binary 19                  
  382.      d = binary 4                    t = binary 20                  
  383.      e = binary 5                    u = binary 21                  
  384.      f = binary 6                    v = binary 22                  
  385.      g = binary 7                    w = binary 23                  
  386.      h = binary 8                    x = binary 24                  
  387.      i = binary 9  (Hard tab)        y = binary 25                  
  388.      j = binary 10 (Line feed)       z = binary 26                  
  389.      k = binary 11                   [ = binary 27                  
  390.      l = binary 12                   \ = binary 28                  
  391.      m = binary 13 (Carriage ret)    ] = binary 29                  
  392.      n = binary 14                   ^ = binary 30 (CTRL SHIFTED 6) 
  393.      o = binary 15                   _ = binary 31 (CTRL SHIFTED -) 
  394.  
  395.      The above sequences rely on the standard operating system routines to
  396. decode the keyboard, however you can assign key values to any keyboard
  397. combination of your choice from the command mode.  Of course you can also
  398. assign whole strings of text which may include binary control sequences to
  399. a key press combination.
  400.  
  401.      Most Amiga keymaps also support the ability to enter a variety of
  402. extended characters by pressing the ALT key, and another key, or keys.
  403. These combinations are not listed here.
  404.  
  405.      ***NOTE***  See the 2.0 compatability appendix entry below!
  406.  
  407. ======================================================================
  408.                         BLOCK & COLUMN MARKING
  409. ======================================================================
  410.  
  411.      QED allows you to mark blocks, and columns of text.  Mark mode
  412. is transparent; that is to say that you can continue to edit text, move
  413. the cursor keys, run macros, etc., while marking a block, or column.
  414.  
  415.      When marking a block of text:
  416.      -----------------------------
  417.  
  418.      The cursor position may not be in the marked block.  This may
  419.      seem confusing at first, but what it allows you to do is
  420.      position the cursor on the beginning of a line, and move
  421.      the cursor up, or down, only marking whole lines of text.
  422.  
  423.      It turns out that including the cursor position within the block
  424.      in most cases requires MORE work on your part.  Also you will
  425.      find that QED's handling of marked block range works out
  426.      very well when using the NEXT/PREVIOUS word feature to move
  427.      the cursor.
  428.  
  429.      It is also possible to mark a range of text in which there
  430.      are no real characters.  For example, if free form editing
  431.      is turned on, you could move the cursor past the end of a line,
  432.      and mark a from left->right.  However, if there are no
  433.      characters in the area marked, attempts to cut, or copy
  434.      this area will return an error message.
  435.  
  436.      Some experimentation is encouraged so that you will get a feel
  437.      for how this mode works.
  438.  
  439.      When marking a column of text:
  440.      ------------------------------
  441.  
  442.      When marking a column of text, the cursor position is ALWAYS
  443.      included within the column.  However note that once again
  444.      it is quite possible to mark a column of text in which
  445.      there are no real characters.
  446.  
  447.      Some experimentation is encouraged so that you will get a feel
  448.      for how this mode works.
  449.  
  450.      Note that some of QED's features are context sensitive. For 
  451.      example, SAVE AS can also be used to save a marked block, or marked
  452.      column.
  453.  
  454.      The following features can be limited to a MARKED BLOCK
  455.      -------------------------------------------------------
  456.  
  457.      SAVE AS
  458.      REPLACE ALL
  459.      PRINT
  460.      STRIP
  461.      ERASE
  462.      SWAP CASE
  463.      FORMAT (SIMPLE FORMATTER ONLY)
  464.      INDENT (MARK WHOLE LINE MODE ONLY)
  465.      CUT
  466.      COPY
  467.  
  468.  
  469.      The following features can be limited to a MARKED COLUMN
  470.      --------------------------------------------------------
  471.  
  472.      SAVE AS
  473.      REPLACE ALL
  474.      PRINT
  475.      ERASE
  476.      SWAP CASE
  477.      CUT
  478.      COPY
  479.  
  480. ======================================================================
  481.                          DEFAULT KEY MAPPING
  482. ======================================================================
  483.  
  484.      The following keys have been assigned default commands.
  485.  
  486.  
  487. Key Press      |    Action
  488. ----------------------------------------------------------------------
  489. RETURN         | Splits a line at the cursor position by inserting
  490.                | a linefeed at the cursor position.  If the cursor
  491.                | is already past the end of line, then another
  492.                | linefeed is inserted at the end of the current
  493.                | line, effectively inserting an empty line.
  494.                | Auto-Indent, and a variety of other options
  495.                | can affect the behavior of this operation.
  496.                |
  497. ENTER          | Insert a new line below the cursor.  
  498.                | Auto-Indent, and a variety of other options
  499.                | can affect the behavior of this operation.
  500.                |
  501. SHIFT RETURN   | Behaves like the ENTER key.
  502.                |
  503. SHIFT ENTER    | Behaves like the RETURN key.
  504.                |
  505. BACKSPACE      | Delete character to the left of the cursor.
  506.                | If the cursor is on the first column, backspacing
  507.                | can be used to join two lines, effectively
  508.                | deleting the previous end of line character.
  509.                |
  510. DELETE         | Delete the character under the cursor, but not
  511.                | end of line characters.
  512.                |
  513. ESC            | Opens the command mode window.
  514.                |
  515. TAB            | Inserts a soft/hard tab at the cursor position, or
  516.                | moves the cursor to the next tab stop depending
  517.                | upon the option settings.
  518.                |
  519. CURSOR UP      | Move the cursor up one line.
  520.                |
  521. CURSOR DOWN    | Move the cursor down one line.
  522.                |
  523. CURSOR RIGHT   | Move the cursor right one character.  The cursor may
  524.                | wrap to the beginning of the next line if free cursor
  525.                | movement is off.  Margin locking can also affect the
  526.                | behavior of all cursor keys.
  527.                |
  528. CURSOR LEFT    | Move the cursor left one character.  Cursor may
  529.                | wrap up to the end of the previous line.  Margin
  530.                | locking can affect the behavior of all cursor keys.
  531.                |
  532. SHIFT CURSOR   | Move cursor up one window page.
  533. UP             |
  534.                |
  535. SHIFT CURSOR   | Move cursor down one window page.
  536. DOWN           |
  537.                |
  538. SHIFT CURSOR   | Move cursor to beginning of next word.
  539. RIGHT          |
  540.                |
  541. SHIFT CURSOR   | Move cursor to end of previous word.
  542. LEFT           |
  543.                |
  544. ALT CURSOR     | Move cursor to first line of window text.
  545. UP             |
  546.                |
  547. ALT CURSOR     | Move cursor to last line of window text.
  548. DOWN           |
  549.                |
  550. ALT CURSOR     | Move cursor to end of line.
  551. RIGHT          |
  552.                |
  553. ALT CURSOR     | Move cursor to beginning of line.
  554. LEFT           |
  555.                |
  556. CTRL CURSOR    | Move cursor to top of window.
  557. UP             |
  558.                |
  559. CTRL CURSOR    | Move cursor to last line of window.
  560. DOWN           |
  561. ----------------------------------------------------------------------
  562.  
  563. ***NOTE***
  564.  
  565.      The ALT, and SHIFTED cursor key combinations do NOT conform
  566. to the new style guide standards.  This has been done to maintain
  567. consistency with previous versions of QED; the default mapping of
  568. these keys may change in the future.
  569.  
  570.  
  571. ======================================================================
  572.                          2.0 COMPATABILITY
  573. ======================================================================
  574.  
  575.      As of V2.0, QED requires V2.04 or greater of the Amiga OS.
  576.  
  577.      When running under version 2.0 of the operating system, QED uses
  578.      your default screen font, which is the same font used by CLI
  579.      windows to render text.
  580.  
  581.      ***SPECIAL NOTE***
  582.  
  583.      You will not be able to enter control characters in the
  584.      search, and replace requesters unless you turn "Text Gadget
  585.      Filtering" off under the IControl Preferences editor.
  586.  
  587.